package com.ruoyi.biz.pojo.dto;

import com.alibaba.fastjson.JSON;

/**
 * 生成激活码
 *
 * @author yusheng.liu
 * @since 2025/11/10 13:49
 */
public class GenCodeDTO {

    /**
     * 激活码类型: 1-月卡,2-季卡,3-年卡,0-永久
     */
    private Integer type;

    /**
     * 批量生成个数
     */
    private Integer num;

    /**
     * 是否上传
     */
    private Integer isUp;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getIsUp() {
        return isUp;
    }

    public void setIsUp(Integer isUp) {
        this.isUp = isUp;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
